package com.agileboot.domain.airport.standard.db;

import com.agileboot.common.core.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@TableName("sir_check_standard")
@ApiModel(value = "SirCheckStandardEntity对象", description = "判定标准信息表")
public class SirCheckStandardEntity extends BaseEntity<SirCheckStandardEntity> {

    @TableId
    @ApiModelProperty("判定标准主键")
    private Long checkStandardId;

    @ApiModelProperty("检查项主键")
    private Long checkTermId;

    @ApiModelProperty("判定编号")
    private String determinationCode;

    @ApiModelProperty("检查方法")
    private String checkWay;

    @ApiModelProperty("频次类型")
    private String frequencyType;

    @ApiModelProperty("检查频次")
    private Integer frequency;

    @ApiModelProperty("依据名称")
    private String accordanceName;

    @ApiModelProperty("依据条款")
    private String accordanceTerms;

    @ApiModelProperty("依据条款路径")
    private String accordanceTermsPath;

    @ApiModelProperty("单位手册")
    private String unitManual;

    @ApiModelProperty("单位手册路径")
    private String unitManualPath;

    @ApiModelProperty("判定标准")
    private String determinationStandard;


    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @Override
    public Serializable pkVal() {
        return this.checkStandardId;
    }
}
